'''
Created on 2010-4-18

@author: Colin Han
'''

import wsgiref.handlers

from google.appengine.ext.webapp import template, \
    WSGIApplication, RequestHandler
# from google.appengine.api import users
    
class home(RequestHandler):
    def get(self):
        dict = {}
        html = template.render('''themes/default/templates/index.html''', dict)
        self.response.out.write(html);

def main():
    template.register_template_library('filter')
    application = WSGIApplication(
                    [('/', home),
                     ],debug=True)
    wsgiref.handlers.CGIHandler().run(application)
    
if __name__ == '__main__':
    main()